package com.yh.patterns.Strategy.task;

/**
 * @Author:云尚
 * @Description:测试类
 */
public class Client {
    public static void main(String[] args) {
        Helicopter helicopter=new Helicopter(); //直升机
        helicopter.takeOff();
        helicopter.fly();
        AirPlane airPlane=new AirPlane();    //客户机
        airPlane.takeOff();
        airPlane.fly();
    }
}
